﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ViewSingleTeacherPersonalInformation.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.ViewSingleTeacherPersonalInformation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style>
    .required
   {
     color: red;  
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align="center">
        <fieldset style="width: 800px; height: 600px;">
            <fieldset style="width: 450px; height: auto">
                <legend style="text-decoration: blink; color: Aqua;">Teacher PerSonal Information</legend>
                <table align="center">
                    <tr>
                        <td>
                            <asp:Label ID="Label8" runat="server" ForeColor="#FF0066" 
                                Text="Here u can Search By Name , Email ."></asp:Label>
                        </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label ID="messageLabel" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
                <table>
                    <tr>
                        <td>
                            Name Or Email
                        </td>
                        <td>
                            <asp:TextBox ID="nameOrEmailTextBox" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required" CssClass="required" ControlToValidate="nameOrEmailTextBox" ValidationGroup="vgViewSingleTeacherPersonalInformation" ></asp:RequiredFieldValidator>
                        </td>
                        <td>
                            <asp:Button ID="searchButton" runat="server" Text="Search" OnClick="searchButton_Click" ValidationGroup="vgViewSingleTeacherPersonalInformation" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
                <table>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="nameLabel" runat="server" Text="Name"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="nameTextBox" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="designationLabel" runat="server" Text="Deaignation"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="designationTextBox" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="departmentLabel" runat="server" Text="Department"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="departmentTextBox" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="emailLabel" runat="server" Text="Email"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="emailTextBox" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="contactNoLabel" runat="server" Text="Contact No"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="conyactNoTextBox" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="addressLabel" runat="server" Text="Address"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="addressTextBox" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </fieldset>
    </div>
</asp:Content>
